/*
 * Belegung der Ports
 */
#define LED_ACT		LATAbits.LATA0
#define LED_USB		LATAbits.LATA1

#define MODE_SEL	LATAbits.LATA5

#define CAN_RXD		LATBbits.LATB2
#define CAN_TXD		LATBbits.LATB3

#define LCD_RS_PIN		LATCbits.LATC0
#define LCD_RW_PIN		LATCbits.LATC1
#define LCD_E_PIN		LATCbits.LATC2
#define LCD_DATA_PORT	LATD

#define USB_PWREN	LATAbits.LATA4
#define USB_RXF		LATBbits.LATB6
#define USB_TXE		LATBbits.LATB7

#define USB_RD		LATEbits.LATE0
#define USB_WR		LATEbits.LATE1

#define EMS_TX		LATCbits.LATC6
#define EMS_RX		LATCbits.LATC7

#define EPROM_SCL	LATCbits.LATC3
#define EPROM_SDA	LATCbits.LATC4